<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<script type="text/javascript">
    var handle_data = [
        {id: 0, name: "已消缺"},
        {id: 1, name: "报警"},
        {id: 2, name: "已确认"}
    ];
    function getHandleTypeName(handleType) {
        for (var i = 0; i < handle_data.length; i++) {
            if (handleType == handle_data[i].id) {
                return handle_data[i].name;
            }
        }
        return '未知';
    }
</script>